package com.ztgf.order.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * author: chenyu.wang
 * date: 2020-06-23 11:09
 * Description: 订单商品VO
 */
@Data
public class OrderCommodityVO implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "商品id")
    private Long commodityId;

    @ApiModelProperty(value = "属性ids")
    private String attrIds;

    @ApiModelProperty(value = "税除以100率")
    private Integer taxRate;

    @ApiModelProperty(value = "单价;不填，询价")
    private BigDecimal price;

    @ApiModelProperty(value = "批发价;不填，询价")
    private BigDecimal wholesalePrice;

    @ApiModelProperty(value = "库存")
    private Integer inventoryNumber;

    @ApiModelProperty(value = "库存预警")
    private Integer inventoryNumberWarning;

    @ApiModelProperty(value = "起批数量")
    private Integer batchNumber;

    @ApiModelProperty(value = "会员折扣")
    private BigDecimal memberDiscount;

    @ApiModelProperty(value = "卖家店铺id")
    private Long sellerShopId;

    @ApiModelProperty(value = "商品图片url")
    private String logoUrl;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品可售区域")
    private String availableArea;

    @ApiModelProperty(value = "规格属性/套餐名称")
    private String attrName;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "单位名称")
    private String unitName;

    @ApiModelProperty(value = "首期款比例")
    private Integer firstBalance;

    @ApiModelProperty(value = "尾款比例")
    private Integer tailBalance;

    @ApiModelProperty(value = "分类分成比例")
    private BigDecimal dividend;

    @ApiModelProperty(value = "质保期")
    private Integer warrantyMonth;

    @ApiModelProperty(value = "类目id")
    private Long categoryId;

    @ApiModelProperty(value = "发货天数")
    private Integer sendDays;

    @ApiModelProperty(value = "询盘商品服务费")
    private BigDecimal purchaseFeeMoneyScalePrice;

    @ApiModelProperty(value = "询盘商品类型：0是普通、1询盘")
    private Integer purchaseCommodityType;

    @ApiModelProperty(value = "询盘商品一次报价")
    private BigDecimal purchaseCommodityOnePrice;

    @ApiModelProperty(value = "询盘商品二次报价")
    private BigDecimal purchaseCommodityTwoPrice;

    @ApiModelProperty(value = "询盘商品三次报价")
    private BigDecimal purchaseCommodityThreePrice;

    @ApiModelProperty(value = "是否申请平台砍价")
    private Integer purchasePlatBargainStatus;

    @ApiModelProperty(value = "询盘商品报价表id")
    private Long purchaseCommodityBargainId;

    @ApiModelProperty(value = "询盘商品卖家第一次议价")
    private BigDecimal oneBargainPrice;

}
